package com.yonyou.gmcc.gateway.wechat.controller.common;

import javax.servlet.http.Cookie;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.marketing.common.entity.Check;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.ModelAndView;

import com.yonyou.gmcc.gateway.wechat.common.ApiVersionConsts;
import com.yonyou.gmcc.gateway.wechat.common.CommonConstants;

@Controller
@RequestMapping(value = ApiVersionConsts.BASE_PATH )
public class IndexController {
	@RequestMapping("")
    public String index(HttpServletResponse response,HttpServletRequest req) { 
		response.setCharacterEncoding("GBK");
		response.setContentType("text/html;charset=GBK");
		
		System.out.println("----IndexController,check");
        return "/index.html";
    }
}
